{template 'head.html'}


<div class="t_1 wow bounceIn">
<div>
<h3>{lang(listcontent)}</h3>
<p>Content List</p>
</div>
</div>

<div class="p10">

<div class="blank10"></div>

<form name="listform" id="listform"  action="<?php echo uri();?>" method="post">

    <table class="table table-striped table-hover">
        <thead>
            <tr>
                <!--<th width="60" >{lang(allselect)}<br /><input onclick="CheckAll(this.form)" type="checkbox" name="chkall" class="checkbox" /> </th>-->
               <!-- <th >{lang(order)}</th>-->
                <th class="user-cotent-id"><!--aid-->{lang(id)}</th>
                <th class="user-category"><!--catid-->{lang(category)}</th>
                <th class="user-content-list-title"><!--title-->{lang(title)}</th>
                <th class="user-content-author"><!--username-->{lang(author)}</th>
                <th class="user-content-view"><!--view-->{lang(view)}</th>
                <th class="user-content-adddate"><!--adddate-->{lang(adddate)}</th>
                <th class="user-content-checked"><!--checked-->{lang(checked)}</th>
                <th class="user-content-dosomething">{lang(dosomething)}</th>
            </tr>

        </thead>
        <tbody>
            {loop $data $d}
            <tr class="s_out">
                <td class="user-cotent-id">{cut($d['aid'])}</td>
                <td class="user-category"><a href="<?php echo url("archive/list/catid/".$d[catid],false);?>" target="_blank">{catname($d['catid'])}</a></td>
                <td class="user-content-list-title">{cut($d['title'])}</td>
                <td class="user-content-author">{cut($d['username'])}</td>
                <td class="user-content-view">{cut($d['view'])}</td>
                <td class="user-content-adddate">{cut($d['adddate'])}</td>
                <td class="user-content-checked">{helper::yes($d['checked'])}</td>
                <td class="user-content-dosomething">
                    <a href='<?php if($d['linkto'])   echo $d['linkto']; else echo url("archive/show/aid/$d[$primary_key]",false);?>' target="_blank" >{lang(look)}</a>
                    <a href="<?php echo modify("act/edit/manage/archive/id/$d[$primary_key]");?>">{lang(edits)}</a>
                </td>
            </tr>
            {/loop}


        </tbody>
    </table>


<div class="blank30"></div>

    <input type="hidden" name="batch" value="">


</form>
<div class="blank10"></div>
    <div class="blank10"></div>

<div class="pages">
<?php if(get('table')!='type' && front::get('case')!='field') echo pagination::html($record_count); ?>
</div>
<div class="blank10"></div>
<div class="blank30"></div>
<div class="blank30"></div>

{template 'foot.html'}